package com.tty.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.tty.entity.Url;
import com.tty.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.net.UnknownHostException;
import java.util.List;

public interface UrlService {

    List<Url> findAll();

    Boolean insert(Url url);
    Url getUrlByShortUrlId(String shortUrlId);
    List<Url> findMyUrl(Long id);
}
